package cn.ante.ymcc.utils;

import cn.ante.ymcc.doc.CourseDoc;
import cn.ante.ymcc.dto.Aggs;
import cn.ante.ymcc.result.PageList;
import lombok.AllArgsConstructor;
import lombok.Data;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

@Data
@AllArgsConstructor
public class AggPageList extends PageList {
    private Map<String, List<Aggs>> map;

    public AggPageList(Long total, List<CourseDoc> rows, HashMap<String, List<Aggs>> map) {
        super(total,rows);
        this.map = map;
    }
}
